package com.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
public class RouteRole implements Serializable {

    /**
     * 路由ID（主键）
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 路由主键
     */
    private Long routeId;

    /**
     * 角色主键
     */
    private Long roleId;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}
